<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./JS/vue.js"></script>
</head>
<body>
    <div id="app">
        <input type="text" v-model="message">
        <input type="text" :value="message" v-on:input="valueChange">
        <input type="text" :value="message" v-on:input="message = $event.target.value">
        {{message}}
    </div>
    <script>
        const app = new Vue({
            el: '#app',
            data:{
                message: 'why'
            },
            methods:{
             valueChange(event){
                this.message = event.target.value;
            }
        }
    })
    </script>
</body>
</html>